import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {SocialManagementComponent} from './social-management.component';

const routes: Routes = [
    {path: '', component: SocialManagementComponent,
        children: [
            {path: '', redirectTo: 'soc-sign', pathMatch: 'full'},
            {path: 'soc-sign', loadChildren: './soc-sign/soc-sign.module#SocSignModule'},
            {path: 'soc-article', loadChildren: './soc-article/soc-article.module#SocArticleModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class SocialManagementRoutingModule {
}
